class AddHistStats < ActiveRecord::Migration
  def self.up
    add_column :stats, :project_homepage, :string
    add_column :stats, :project_name, :string
    add_column :stats, :ones, :integer
    add_column :stats, :twos, :integer
    add_column :stats, :fours, :integer
    add_column :stats, :eights, :integer
    add_column :stats, :sixteens, :integer
    add_column :stats, :thirtytwos, :integer
    add_column :stats, :sixtyfours, :integer
    add_column :stats, :one28s, :integer
    add_column :stats, :two56s, :integer
  end

  def self.down
    remove_column :stats, :project_homepage
    remove_column :stats, :project_name
    remove_column :stats, :ones
    remove_column :stats, :twos
    remove_column :stats, :fours
    remove_column :stats, :eights
    remove_column :stats, :sixteens
    remove_column :stats, :thirtytwos
    remove_column :stats, :sixtyfours
    remove_column :stats, :one28s
    remove_column :stats, :two56s
  end
end
